

<h3>Lista de Intruções</h3>


<table class="listagem">
    <tr>
        <th>
	        <a href='<?php echo $this->url ( array ('action' => 'new') )?>'
	                  class='my-button' title='Novo'> 
	           <span class='ui-icon ui-icon-plus ui-state-default ui-corner-all '></span>
	        </a>
        </th>
        <th>Descrição2</th>
        <th>Sistema</th>
    </tr>
        <?php
			foreach ( $this->instrucoes as $instrucao ) {
		?>
            <tr>
               <td>
                  <a href='<?php echo $this->url ( array ('action' => 'edit', 'codigo' => $instrucao->codigo ) )?>'
			          class='my-button' title='Editar'> 
                      <span class='ui-icon ui-icon-pencil ui-state-default ui-corner-all '></span>
		          </a>
		       </td>
                <td><?php echo $instrucao->descritivo?></td>
                <td><?php echo $instrucao->findParentRow ( "Model_Sistemas" )->nome_sistema?></td>
            </tr>
            <?php }	?>
        </table>
